﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;

namespace Entities
{
    public class FileLogger : ILogger
    {
        public void Log(string message)
        {

            StreamWriter sw = new StreamWriter("log.txt", true);

            DateTime date = DateTime.Now;
            sw.WriteLine( date + " " +  message);
            sw.Close();
            //реализация
        }
    }
}
